
f0=input("请输入要写入的文件：")
f=open("b.txt","a",encoding="UTF-8")
f.writelines(f0)
f.close()